#ifndef DEFDIALOG_H
#define DEFDIALOG_H

#include <QDialog>
#include<QDomElement>
#include<QDomDocument>
#include<QVector>
#include<QStringList>


class QGridLayout;
class QDomAttr;
class QPushButton;
class QLabel;

class defDialog : public QDialog
{
    Q_OBJECT

public:
    defDialog(QDomDocument &rootNode, QWidget *parent = 0);
public slots:
    virtual void changeNode();

protected:
   virtual QGridLayout *createLayout();
   QGridLayout *gridLayout;
   QStringList atributes;
   QDomElement  mainNode;
   QVector <QDomAttr*> vect;
   void fillVect();

   QLabel* descriptionLabel;
   QPushButton* exitButton;


};

#endif // DEFDIALOG_H
